/* lakeFS custom theme overrides for MkDocs Material */
:root {
  --md-active-color: #00aa94;
}


.md-button {
  font-size: 0.7rem;
}

/* ----------------------------- */
/* Footer customization          */
/* ----------------------------- */

/* Give footer breathing room */
.md-footer {
  padding: 0.5rem 0 !important;
  font-size: 0.6rem;
}

/* lists inline config already here */
.md-footer__nav .md-footer__list,
.md-footer__legal .md-footer__list,
.md-footer__social .md-footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.md-footer__social .md-footer__list li a {
  display: inline-flex;
  align-items: center;
  color: var(--lakefs-teal) !important;
  transition: color 0.2s ease-in-out;
}

/* Change color on hover for better feedback */
.md-footer__social .md-footer__list li a:hover {
  color: var(--lakefs-green) !important;
}

/* Social links icons sizing */
.md-footer__social .md-footer__list svg {
  width: 22px;
  height: 22px;
  fill: currentColor; /* ensure svg uses anchor color */
}

/* ----------------------------- */
/* Layout refinements for large displays */
/* ----------------------------- */
.md-grid {
  max-width: calc(100% - 60px);
}

.md-content__inner {
  max-width: 1000px;
}

@media (min-width: 1440px) {
  .md-sidebar--primary {
    width: 14rem;
    flex: 0 0 14rem;
  }
}

/* Extra-large screens */
@media (min-width: 1920px) {
  .md-sidebar--primary {
    width: 16rem;
    flex: 0 0 16rem;
  }

  .md-sidebar--secondary {
    width: 24rem;
    flex: 0 0 24rem;
  }
}

@media (min-width: 2200px) {
  .md-sidebar--secondary {
    width: 28rem;
    flex: 0 0 28rem;
  }
}

/* Extra-Extra-large screens */
@media (min-width: 2500px) {
  .md-sidebar--secondary {
    width: 30rem;
    flex: 0 0 30rem;
  }
}

@supports selector(::-webkit-scrollbar) {
  [dir=ltr] .md-sidebar__inner {
    padding-right: 20px;
  }
}


/* -------------------------- */
/* Enterprise status badge    */
/* -------------------------- */
.md-status--enterprise::after {
  mask-image: none;
  -webkit-mask-image: none;
  content: "🚀";
  font-size: 0.6rem;
  background-color: transparent;
}
.md-status.md-status--enterprise:hover:after {
  background-color: transparent !important;
}

.md-nav__item .md-nav__link--active, .md-nav__item .md-nav__link--active code {
  color: var(--md-active-color);
  font-weight: 600;
}



/* ----------------------------------------------------------------------------------------*/
/* Custom CSS for video embeds                                                             */
/* based on https://github.com/squidfunk/mkdocs-material/issues/492#issuecomment-336640342 */
/* ----------------------------------------------------------------------------------------*/
.video-wrapper {
  position: relative;
  display: block;
  height: 0;
  padding: 0;
  overflow: hidden;
  padding-bottom: 56.25%;
}
.video-wrapper > iframe {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


/* Join us on Slack */
[data-md-color-primary=white] .md-button.md-button-nav-cta,
[data-md-color-primary=white] .md-button.md-button-nav-cta:hover
.md-button-nav-cta
.md-button-nav-cta:hover {
  background-color: #f24886;
  color: white;
  border-radius: 0.25rem;
  padding: 0.5rem 0.7rem;
  font-size: 0.7rem;
  font-weight: 600;
  margin-right: 1.4rem;
}